<template>
  <div class="WFTYPECODE iframe">
    <iframe
      :src="IIFRAME_URL + '/iccweb/ticketPaging/midlePage/' + IParams"
      frameborder="0"
      width="100%"
      height="100%"
    ></iframe>
    <!-- <iframe src="http://10.152.5.157:9090/iccweb-6113/ticketSystem/midlePage" frameborder="0" width="100%" height="100%"></iframe> -->
    <!-- <iframe src="10.188.44.51/10.191.58.13 ticketSystem/midlePage" frameborder="0" width="100%" height="100%"></iframe> -->
  </div>
</template>

<script>
// import IFRAME_URL from '../../setting.js'

export default {
  name: 'WFTYPECODE',
  data() {
    return {
      IIFRAME_URL: '', // IFRAME_URL
      IParams: '404',
    };
  },

  created() {
    this.this.$route.meta.title = 'sadasdasd';
    console.log(this.$route, 'w');
    this.IParams = this.$route.params.id; // 将当前id传过去
    this.IIFRAME_URL = window.location.origin;
    // console.log(window.location.origin, "asdasdasdasd");
    // alert(IFRAME_URL)
    // console.log(window.location, '11111111111');
  },
};
</script>

<style lang="scss" scoped>
.WFTYPECODE {
  height: 100%;
}
</style>
